#ifndef BASEENTITY_H
#define BASEENTITY_H

#include <SFML/Graphics.hpp>
#include <iostream>
#include <string>
#include <windows.h>
#include "ImageManager.h"
#include "Box2D.h"

class BaseEntity
{
private:
	sf::Image Image;
	sf::Sprite Sprite;
	std::string Model;
	
	struct pos
	{
		float x;
		float y;
	};

public:
	BaseEntity();
	~BaseEntity();

	std::string ClassName;

	sf::Sprite GetDrawable();

	b2World* PhysicsWorld;
	b2Body* PhysicsBody;

	void SetModel(std::string filename);
	void SetPos(float x, float y);
	pos GetPos();
	void SetAngles(float degrees);
	float GetAngles();
	void Think();
};

#endif